package cc.yugu.yhdw.webserver.persistence.basic;

import cc.yugu.yhdw.common.domain.basic.CustomerForegift;
import cc.yugu.yhdw.common.persistence.MasterMapper;

import java.util.List;
/**
 * 客户押金映射
 *
 * @Date:Created in 2018/8/2 13:06
 * @Author:
 * @Modified By: zxj 2018/8/2 13:06
 */
public interface CustomerForegiftMapper extends MasterMapper {
    /**
     * 查询记录总数
     * @Param [CustomerForegift]
     * @Return int
     * @Author zxj 2018/8/2
     */
    int findPageCount(CustomerForegift customerForegift);
    /**
     * 查询记录总数s（代理商 is null）
     * @Param [CustomerForegift]
     * @Return int
     * @Author zxj 2018/8/2
     */
    int findPageCounts(CustomerForegift customerForegift);
    /**
     * 查询记录结果集
     * @Param [CustomerForegift]
     * @Return java.util.List<cc.yugu.yhdw.common.domain.basic.CustomerForegift>
     * @Author zxj 2018/8/2
     */
    List<CustomerForegift> findPageResult(CustomerForegift customerForegift);
    /**
     * 查询记录结果集s（代理商 is null）
     * @Param [CustomerForegift]
     * @Return java.util.List<cc.yugu.yhdw.common.domain.basic.CustomerForegift>
     * @Author zxj 2018/8/2
     */
    List<CustomerForegift> findPageResults(CustomerForegift customerForegift);
    /**
     * 查询电池押金
     * @Param [id]
     * @Return cc.yugu.yhdw.common.domain.basic.CustomerForegift
     * @Author zxj 2018/8/2
     */
    CustomerForegift find(int id);
    /**
     * 插入
     * @Param [CustomerForegift]
     * @Return int
     * @Author zxj 2018/8/2
     */
    int insert(CustomerForegift customerForegift);
    /**
     * 更新
     * @Param [CustomerForegift]
     * @Return int
     * @Author zxj 2018/8/2
     */
    int update(CustomerForegift customerForegift);
    /**
     * 删除
     * @Param [id]
     * @Return int
     * @Author zxj 2018/8/2
     */
    int delete(int id);
}
